package com.lmt.repository;

import com.lmt.entity.Tag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Date 2018/07/17
 *
 * @author MT-Lin
 */
@Repository
public interface TagRepository extends JpaRepository<Tag, String> {

	/**
	 * 根据系统资源ID查找
	 * @param resourceId 系统资源ID
	 * @return Tag
	 */
	Tag findByResourceId(String resourceId);
}
